From bd5af41ce4c2fbceff1ca60be47a45c4a698474c Mon Sep 17 00:00:00 2001 From: "leendert@watson.ibm.com[kaf24]" Date: Fri, 27 May 2005 08:35:56 +0000 Subject: [PATCH] bitkeeper revision 1.1572 (4296dbecanEyZdOxxZEuQ7szhriF5g) [PATCH] [PATCH] (missing) More accurate address decoding for This patch works a lot better when you have all the modified files. Signed-Off-By: Leendert van Doorn --- xen/arch/x86/vmx_platform.c | 2 +- xen/include/asm-x86/vmx_vmcs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/vmx_platform.c b/xen/arch/x86/vmx_platform.c index 14ef2d2d24..96ff7188d6 100644 --- a/xen/arch/x86/vmx_platform.c +++ b/xen/arch/x86/vmx_platform.c @@ -406,7 +406,7 @@ static int vmx_decode(const unsigned char *inst, struct instruction *thread_inst return DECODE_failure; } -static int inst_copy_from_guest(unsigned char *buf, unsigned long guest_eip, int inst_len) +int inst_copy_from_guest(unsigned char *buf, unsigned long guest_eip, int inst_len) { l1_pgentry_t gpte; unsigned long mfn; diff --git a/xen/include/asm-x86/vmx_vmcs.h b/xen/include/asm-x86/vmx_vmcs.h index 5fe27f002e..70a9c34594 100644 --- a/xen/include/asm-x86/vmx_vmcs.h +++ b/xen/include/asm-x86/vmx_vmcs.h @@ -146,6 +146,7 @@ enum vmcs_field { CR3_TARGET_VALUES = 0x00006008, CR3_GUEST_HOST_MASK = 0x00006208, EXIT_QUALIFICATION = 0x00006400, + GUEST_LINEAR_ADDRESS = 0x0000640A, GUEST_CR0 = 0x00006800, GUEST_CR3 = 0x00006802, GUEST_CR4 = 0x00006804, -- 2.30.2